"use strict";

exports.__esModule = true;
exports.getStr = getStr;
exports.getRandNum = getRandNum;
exports.getRandInt = getRandInt;
/**
 * 获取6位随机字符串
 */
function getStr() {
    return Math.random().toString(36).substring(7);
}

function getRandNum(min, max) {
    return Math.random() * (max - min) + min;
}

function getRandInt(min, max) {
    min = Math.ceil(min);
    max = Math.floor(max);
    return Math.floor(Math.random() * (max - min)) + min;
}